#define _CRT_SECURE_NO_WARNINGS
#include "Seqlist.h"

void test1()
{
	SeqList s;
	SeqListInit(&s);
	SeqListPushBack(&s, 1);
	SeqListPushBack(&s, 2);
	SeqListPushBack(&s, 3);
	SeqListPushFront(&s, 9);
	SeqListPushBack(&s, 4);
	SeqListPushBack(&s, 5);
	SeqListPrint(&s);

	SeqListPopFront(&s);
	SeqListPrint(&s);

	SeqListPopBack(&s);
	SeqListPrint(&s);

	SeqListInsert(&s, 2, 9);
	SeqListPrint(&s);

	SeqListErase(&s, 2);
	SeqListPrint(&s);

}

int main()
{
	test1();
	return 0;
}